package com.example.bnuzzu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.bnuzzu.common.dto.UserListDto;
import com.example.bnuzzu.entity.Userinfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author BNUZZU
 * @since 2021-04-13
 */
public interface UserinfoService extends IService<Userinfo> {
    IPage<UserListDto> selectUserPage(Page<UserListDto> page, Integer state);
    List<Userinfo> getAllUser();
    List<UserListDto> findFriends(Integer houseid);
}
